package com.zyd.blog.homeart.service;


import com.zyd.blog.persistence.beans.Comment;
import com.zyd.blog.persistence.beans.CommentNew;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liusongqi
 * @since 2020-02-11
 */
public interface ICommentService  {

    Integer addComment(Comment comment) throws Exception;

    List<CommentNew> threeComment(String answerId, String state, String userId) throws Exception;

    Map<String, List> Comment(String answerId, String state, String userId) throws Exception;


    Integer fabulous(String commentId,String userId,String state) throws Exception;

    Integer fabulousReply(String replyId,String userId) throws Exception;

    Integer reduceCommentZan(String commentId,String userId,String state) throws Exception;
    Integer reduceCommentReplyZan(String replyId,String userId) throws Exception;

    Integer deleteComment(String designId,String commentId,String userId,String state) throws Exception;

    Integer deleteShare(String id) throws Exception;

    Map<String, List> HTComment(String answerId,String state) throws Exception;
}
